package com.regulareport.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ReportTask {
    private Long taskId;
    private Long planId;
    private Long deptId;
    private Long reportId;
    private String taskStatus;
    private String checkStatus;
    private String dataDate;
    private String updateBy;
    private String createBy;
    private String taskType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String delFlag;
    private String deliveryTime;
    private String deadLine;

    private String filePath;

    private int fileVerison;

    private String fileJson;

    private int jsonState;

    private String editFileJson;

    private int editJsonState;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getDataDate() {
        return dataDate;
    }

    public void setDataDate(String dataDate) {
        this.dataDate = dataDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getDeadLine() {
        return deadLine;
    }

    public void setDeadLine(String deadLine) {
        this.deadLine = deadLine;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public int getFileVerison() {
        return fileVerison;
    }

    public void setFileVerison(int fileVerison) {
        this.fileVerison = fileVerison;
    }

    public String getFileJson() {
        return fileJson;
    }

    public void setFileJson(String fileJson) {
        this.fileJson = fileJson;
    }

    public int getJsonState() {
        return jsonState;
    }

    public void setJsonState(int jsonState) {
        this.jsonState = jsonState;
    }

    public String getEditFileJson() {
        return editFileJson;
    }

    public void setEditFileJson(String editFileJson) {
        this.editFileJson = editFileJson;
    }

    public int getEditJsonState() {
        return editJsonState;
    }

    public void setEditJsonState(int editJsonState) {
        this.editJsonState = editJsonState;
    }

    @Override
    public String toString() {
        return "ReportTask{" +
                "taskId=" + taskId +
                ", planId=" + planId +
                ", deptId=" + deptId +
                ", reportId=" + reportId +
                ", taskStatus='" + taskStatus + '\'' +
                ", checkStatus='" + checkStatus + '\'' +
                ", dataDate='" + dataDate + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", createBy='" + createBy + '\'' +
                ", taskType='" + taskType + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delFlag='" + delFlag + '\'' +
                ", deliveryTime='" + deliveryTime + '\'' +
                ", deadLine='" + deadLine + '\'' +
                ", filePath='" + filePath + '\'' +
                '}';
    }
}
